import { reactive } from "vue";
import tableData from "./tableData";
const layout = reactive({
  isClear: false,
  isCache: true,
  layoutArr: [
    {
      x: 100,
      y: 100,
      w: 100,
      h: 100,
      componentName: "kdimage",
    },
    {
      className: "myVideo",
      componentName: "kdswiper",
      options: {
        perView: 1,
        autoplay: { delay: 1000 },
        swiperArr: [
          {
            swiperSlideName: "kdimage",
            options: {
              alt: "图片加载失败了",
            },
          },
          {
            swiperSlideName: "kdvideo",
          },
          {
            swiperSlideName: "kdtable",
            options: tableData,
          },
          {
            text: "444ddd",
          },
          {
            text: "555eee",
          },
          {
            text: "666fff",
          },
          {
            text: "777ggg",
          },
          {
            text: "888hhh",
          },
          {
            text: "999iii",
          },
          {
            text: "000hhh",
          },
        ],
      },
    },
  ],
});

export default layout;
